package com.seari.mapper;

import com.seari.bean.MaterialCaregoryAttr;
import com.seari.bean.Station;

import java.util.List;
import java.util.Map;

/**
 * 设备分类
 */
public interface MaterialCaregoryAttrMapper {
        List<Map<String,String>> getLineList(Map<String, String> map);
        List<Station> getStationByParam(Station station);
        List<MaterialCaregoryAttr> getFMcAttrByParams(MaterialCaregoryAttr materialCaregoryAttr);
        List<MaterialCaregoryAttr> getAttrAndValueByFMcId(MaterialCaregoryAttr materialCaregoryAttr);
        List<MaterialCaregoryAttr> getCommonAttr(MaterialCaregoryAttr materialCaregoryAttr);
        int getMcAttrListCount(MaterialCaregoryAttr materialCaregoryAttr);
        int addMcAttr(MaterialCaregoryAttr materialCaregoryAttr);
        int addMcAttrBatch(List<MaterialCaregoryAttr> materialCaregoryAttrList);
        int updateMcAttr(MaterialCaregoryAttr materialCaregoryAttr);
        int updateFCaEnabledByMcId(MaterialCaregoryAttr materialCaregoryAttr);
        int updateFCaOrderByMcId(MaterialCaregoryAttr materialCaregoryAttr);
        int deleteMcAttrByFMcId(MaterialCaregoryAttr materialCaregoryAttr);
        int deleteMcAttrByFCaId(MaterialCaregoryAttr materialCaregoryAttr);
}
